/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author pepe
 */
public class JpaCentralizer {

    static {
        emf = Persistence.createEntityManagerFactory("SBM_PU");
    }
    
    private static final EntityManagerFactory emf;
    
    public static EntityManagerFactory getEntityManager(){
        return emf;
    }
}
